package servlet.model;

import java.util.List;

import servlet.bean.UserBean;
import servlet.dao.DaoFactory;

public class LoginService {

	public boolean isLogin(UserBean userB){
		return DaoFactory.getLoginDaoInstance().isLogin(userB);
	}
	
	public List<UserBean> isLogin2(UserBean userB){
		return DaoFactory.getLoginDaoInstance().isLogin2(userB);
	}
}
